package com.fivefu.core.hillstone.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 大华公交车设备历史点位信息
 * </p>
 *
 * @author 
 * @since 2022-11-24 10:18:56
 */
@TableName("db_hillstone_busequipment_gps")
@ApiModel(value = "DbHillstoneBusEquipmentGps对象", description = "大华公交车设备历史点位信息")
public class DbHillstoneBusEquipmentGps {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("删除标识")
    private Integer isDelete;

    @ApiModelProperty("创建人")
    private String createdBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新人")
    private String updatedBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty("设备编码")
    private String deviceCode;

    @ApiModelProperty("Gps采集时间(时间戳，单位秒)")
    private LocalDateTime capTime;

    @ApiModelProperty("经度")
    private BigDecimal gpsX;

    @ApiModelProperty("纬度")
    private BigDecimal gpsY;

    @ApiModelProperty("速度")
    private BigDecimal speed;

    @ApiModelProperty("角度")
    private BigDecimal angle;

    @ApiModelProperty("方向")
    private String direction;

    @ApiModelProperty("状态 1：在线， 0：离线")
    private Integer isOnline;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public LocalDateTime getCapTime() {
        return capTime;
    }

    public void setCapTime(LocalDateTime capTime) {
        this.capTime = capTime;
    }

    public BigDecimal getGpsX() {
        return gpsX;
    }

    public void setGpsX(BigDecimal gpsX) {
        this.gpsX = gpsX;
    }

    public BigDecimal getGpsY() {
        return gpsY;
    }

    public void setGpsY(BigDecimal gpsY) {
        this.gpsY = gpsY;
    }

    public BigDecimal getSpeed() {
        return speed;
    }

    public void setSpeed(BigDecimal speed) {
        this.speed = speed;
    }

    public BigDecimal getAngle() {
        return angle;
    }

    public void setAngle(BigDecimal angle) {
        this.angle = angle;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public Integer getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(Integer isOnline) {
        this.isOnline = isOnline;
    }

    @Override
    public String toString() {
        return "DbHillstoneBusEquipmentGps{" +
                "id=" + id +
                ", isDelete=" + isDelete +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                ", deviceCode='" + deviceCode + '\'' +
                ", capTime=" + capTime +
                ", gpsX=" + gpsX +
                ", gpsY=" + gpsY +
                ", speed=" + speed +
                ", angle=" + angle +
                ", direction='" + direction + '\'' +
                ", isOnline=" + isOnline +
                '}';
    }
}
